{template "content","header"}
<!--main-->
<div class="main_tab">
	{template "content","left"}
	<div class="tab">
		<div class=tab_lm>
			<P>{pc:block pos="page" siteid="$siteid"}{/pc}</P>
			<div class=tab_title>
				<div class=tab_title_right>
					{pc:content action="category" catid="35" num="25" siteid="$siteid" order="listorder ASC"}
					{loop $data $r}
						<a href="{$r[url]}" {if $r['catid']==40}target="_blank"{/if}>{$r[catname]}</a>&nbsp;
					{/loop}
					{/pc}
				</div>
			</div>
		</div>
		<div class="want">
			 <div class="wyz">
			   <img src="{IMG_PATH}wtz.jpg" alt="投资理财"/>
			   <span><a href="http://www.hldkw.cn/index.php?m=formguide&c=index&a=show&formid=12&siteid=1">了解更多>></a></span>
			 </div>
			 <div class="wtz">
			   <img src="{IMG_PATH}wyz.jpg" alt="融资借贷"/>
			   <span><a href="http://www.hldkw.cn/index.php?m=formguide&c=index&a=show&formid=11&siteid=1">了解更多>></a></span>
			 </div>		
		</div>
		<div class="apply">
  	<div class="income">
      <div class="appli">
          <img src="{IMG_PATH}income.jpg" />
          <ul>
          	<li>全新理财模式</li>
            <li>P2P配对投资</li>
            <li>资产抵押公证</li>
            <li>有保障高收益</li>
          </ul>
      </div>
        <div class="app_tabel_left">
    		{template "content","f1"}
		</div>
    </div>
    <div class="interest">
    	<div class="appli">
          <img src="{IMG_PATH}interest.jpg" />
          <ul>
          	<li>全新融资模式</li>
            <li>P2P配对借贷</li>
            <li>资产抵押担保</li>
            <li>利息低额度高</li>
          </ul>
      </div>
		<div class="app_tabel_right">
    		{template "content","f11"}
		</div>
    </div>
</div>	
		<div class="want">
			 <div class="wyz">
			   <img src="{IMG_PATH}tzlx.jpg"/>
			   <p><a href="http://www.hldkw.cn/index.php?m=formguide&c=index&a=show&formid=12&siteid=1">我要发布</a></p>
			 </div>
			 <div class="wtz">
			   <img src="{IMG_PATH}jdlx.jpg"/>
			   <p><a href="http://www.hldkw.cn/index.php?m=formguide&c=index&a=show&formid=11&siteid=1">我要发布</a></p>
			 </div>		
		</div>
		<?php
			$page = $_GET['page'];
			$urlrule=url_par('page={$'.'page}#s1','index.php?m=content');
		?>
		<div class="licaigd">
			<div class="scroll">
				<p><table width="100%" border="0" cellspacing="0" cellpadding="0" class="h1">
  <tr>
    <td width="10%" align="center">编号</td>
    <td width="25%" align="center">投资方</td>
    <td width="16%" align="center">投资数额</td>
    <td width="14%" align="center">月息</td>
    <td width="20%" align="center">期限</td>
    <td align="center">时间</td>
  </tr>
</table></p>
				<div id="s1" class="scrollDiv">
					<ul>
					{pc:get sql="SELECT * FROM v9_form_wytz ORDER BY dataid desc" return="data" num="5" page="$page" urlrule="$urlrule"} 
					{loop $data $r}
						<li><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="10%" align="center">{$r['dataid']}</td>
    <td width="25%" align="center">{$r['city']}</td>
    <td width="16%" align="center">{$r['money']}万</td>
    <td width="14%" align="center">{$r['gl']}%</td>
    <td width="20%" align="center">{$r['time']}个月</td>
    <td align="center">{date('y-m',$r['datetime'])}</td>
  </tr>
</table></li>
					{/loop}	
					{/pc}
					</ul>
					{$pages}
				</div>
			</div>
			<div class="scroll" style="margin-right:0px;">
				<p><table width="100%" border="0" cellspacing="0" cellpadding="0" class="h1">
  <tr>
    <td width="10%" align="center">编号</td>
    <td width="25%" align="center">借款方</td>
    <td width="16%" align="center">借款数额</td>
    <td width="14%" align="center">月息</td>
    <td width="20%" align="center">期限</td>
    <td align="center">时间</td>
  </tr>
</table></p>
				<div id="s2" class="scrollDiv">
					<ul>
					{pc:get sql="SELECT * FROM v9_form_wydk ORDER BY dataid desc" return="data"  num="10" page="$page"} 
					{loop $data $r}
						<li><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="10%" align="center">{$r['dataid']}</td>
    <td width="25%" align="center">{$r['city1']}</td>
    <td width="16%" align="center">{$r['money2']}万</td>
    <td width="14%" align="center">{$r['gl']}%</td>
    <td width="20%" align="center">{$r['qx']}个月</td>
    <td align="center">{date('y-m',$r['datetime'])}</td>
  </tr>
</table></li>
					{/loop}	
					{/pc}
					</ul>
				</div>
			</div>
		</div>
		<div class=tab_lm>
			<div class=tab_title_1>
				<div class=tab_title_left11><a href="http://www.hldkw.cn/html/zx/zx_index.html" style="color:#FFFFFF"></a></div>
				<div class=tab_title_right></div>
			</div>
		</div>
		<div class=tab_nr1 >
			<div class=tab_nr1_left style="background:url({IMG_PATH}tab_bg11.jpg) no-repeat;">
				<div style=" padding-top:5px;">
    				{pc:content action="lists" catid="24" num="11" order="id DESC" }
						{loop $data $v}
				<table width="100%" border="0" cellpadding="0" cellspacing="0" style="line-height:26px; font-size:14px;">
				  <tr>
					<td><a href="{$v[url]}" target="_blank"{title_style($v[style])}>.{$v[title]}</a></td>
					<td width="23%">{date('Y-m-d',$v[inputtime])}</td>
				  </tr>
			  </table>
						{/loop}
					{/pc}
				</div>
				<div style="text-align:right;"><a href="http://www.hldkw.cn/html/zx/zx_index.html" style="color:#FF0000; font-size:14px">更多内容</a></div>
			</div>
			<div class=tab_nr1_right_1>
				{template "content","f2"}
			</div>
		</div>
		<div class="hezuoyinhang">
			<div class="hezuoyinhang_title_img"><img alt="" src="/uploadfile/2012/0223/20120223031141954.jpg" /></div>
			<div class="hezuoyinhang_title"></div>
			<div class="yhlist">
					{pc:content  action="position" posid="1" catid="36" thumb="1" order="listorder asc" num="18"}
						{loop $data $v}
						  <div class="yhbg">
							<div class="yhbg_img"><a href="{$v[url1]}" target="_blank"}><img src="{$v[thumb]}" /></a></div>
							<div class="yhbg_title"><a href="{$v[url1]}" target="_blank"{title_style($v[style])}>{$v[title]}</a></div>
						  </div>
						{/loop}
					{/pc}
			</div>
			{pc:block pos="hezuoyinghang" siteid="$siteid"}{/pc}
	</div>
	</div>
</div>
{template "content","footer"}
<script type="text/javascript">
	function AutoScroll(obj){
		jQuery(obj).find("ul:first").animate({
			marginTop:"-25px"
		},500,function(){
			jQuery(this).css({marginTop:"0px"}).find("li:first").appendTo(this);
		});
	}
	jQuery(document).ready(function(){
		//setInterval('AutoScroll("#s1,#s2")',3000);
	});
</script> 